<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:ui="http://java.sun.com/jsf/facelets">
   <h:head>
      <title>Managed Bean 生命周期范围</title>
   </h:head>
   <h:body>
      <h:form>
         <h3>脑筋急转弯</h3>
         <p>
             您目前成绩是#{quizBean.score}分
         </p>
         <p>#{quizBean.current.question}</p>
         <p>
           
            <h:inputText value="#{quizBean.answer}"/>
             
         </p>
         <p><h:commandButton value="提交"/></p>
      </h:form>
   </h:body>
  
</html>
